package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;

/**
 * 五险一金设置表对象 fxy_financial_socialsecurity
 * 
 * @author XU
 * @date 2025-02-25
 */
public class FxyFinancialSocialsecurity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号ID */
    private Long id;

    /** 缴纳项目 */
    @Excel(name = "缴纳项目")
    @NotBlank(message = "缴纳项目不能为空")
    private String project;

    /** 缴纳方式 */
    @Excel(name = "缴纳方式", readConverterExp = "1=按比例缴纳,2=按金额缴纳")
    private Long baseNum;

    /** 缴纳基数 */
//    @Excel(name = "缴纳基数")

    private String basePayment;

    /** 公司缴纳比例 */
    @Excel(name = "公司缴纳比例")
    private String companyPortion;

    /** 个人缴纳比例 */
    @Excel(name = "个人缴纳比例")
    private String personPortion;

    /** 公司缴纳金额 */
    @Excel(name = "公司缴纳金额")

    private String companyPay;

    /** 个人缴纳金额 */
    @Excel(name = "个人缴纳金额")

    private String personPay;

    /** 账套ID */
    private Long accountSetsId;


    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProject(String project) 
    {
        this.project = project;
    }

    public String getProject()
    {
        return project;
    }
    public void setBaseNum(Long baseNum) 
    {
        this.baseNum = baseNum;
    }

    public Long getBaseNum() 
    {
        return baseNum;
    }
    public void setBasePayment(String basePayment) 
    {
        this.basePayment = basePayment;
    }

    public String getBasePayment() 
    {
        return basePayment;
    }
    public void setCompanyPortion(String companyPortion) 
    {
        this.companyPortion = companyPortion;
    }

    public String getCompanyPortion() 
    {
        return companyPortion;
    }
    public void setPersonPortion(String personPortion) 
    {
        this.personPortion = personPortion;
    }

    public String getPersonPortion() 
    {
        return personPortion;
    }
    public void setCompanyPay(String companyPay) 
    {
        this.companyPay = companyPay;
    }

    public String getCompanyPay() 
    {
        return companyPay;
    }
    public void setPersonPay(String personPay) 
    {
        this.personPay = personPay;
    }

    public String getPersonPay() 
    {
        return personPay;
    }
    public void setAccountSetsId(Long accountSetsId) 
    {
        this.accountSetsId = accountSetsId;
    }

    public Long getAccountSetsId() 
    {
        return accountSetsId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("project", getProject())
            .append("baseNum", getBaseNum())
            .append("basePayment", getBasePayment())
            .append("companyPortion", getCompanyPortion())
            .append("personPortion", getPersonPortion())
            .append("companyPay", getCompanyPay())
            .append("personPay", getPersonPay())
            .append("accountSetsId", getAccountSetsId())
            .toString();
    }


}
